package com.lvt.design.pattern.module.auth;

import com.lvt.design.pattern.module.auth.auth.ApiAuthencator;
import com.lvt.design.pattern.module.auth.auth.DefaultApiAuthencatorImpl;

/**
 * @author LT
 * @date 2023年02月21日 23:33
 */
public class Client {
    public static void main(String[] args) {
        String req = "test?"
                + "AppID=designpattern"
                + "&Token=IXIGIpJ9hdOBCyjStaDJ5Nom07g="
                + "&Timestamp=1465185768";
        ApiAuthencator authencator = new DefaultApiAuthencatorImpl();
        authencator.auth(req);
    }
}
